package com.zzqstart.userservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * ClassName: UserServiceMain
 * Package: com.zzqstart.userservice
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-06 11:16
 * @Version 1.0
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.zzqstart"})
@EnableDiscoveryClient
@MapperScan("com.zzqstart.userservice.mapper")
public class UserServiceMain {
    public static void main(String[] args) {
        SpringApplication.run(UserServiceMain.class,args);
    }
}
